﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using Itop.YHPC.controller;
using Itop.YHPC.Model;

namespace Itop.YHPC.workflow
{
    public partial class changestatus_ajax : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string status = Request.QueryString["status"];
            string id = Request.QueryString["id"];
            yhpcMain main = workflowController.GetMain(id);
            main.pgdj = status;
            main.ypgdj = status;
            workflowController.Update(main);
        }
    }
}
